
package com.intretech.umsin.system.entity;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.math.BigDecimal;
import com.intretech.umsin.datasource.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateTimeDeserializer;
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateTimeSerializer;


 /**
 * @version V1.0
 * 菜单权限:sys_menu 对应实体类.
 * @ClassName: SysMenu
 * @Description: 菜单权限:sys_menu 对应实体类.
 * @author: 李启联
 * @date:   2022-8-16 16:25:07
 * @Copyright: Copyright (c) 2022
 */
@TableName("`sys_menu`")
public class SysMenuEntity extends BaseEntity {
   // 菜单名称
   @TableField(value = "menu_name")
   private String menuName;
   // 父菜单ID
   @TableField(value = "parent_id")
   private Long parentId;
   // 显示顺序
   @TableField(value = "order_num")
   private Integer orderNum;
   // 路由地址
   @TableField(value = "path")
   private String path;
   // 组件路径
   @TableField(value = "component")
   private String component;
   // 路由参数
   @TableField(value = "query_param")
   private String queryParam;
   // 是否为外链（0是 1否）
   @TableField(value = "is_frame")
   private Integer isFrame;
   // 是否缓存（0缓存 1不缓存）
   @TableField(value = "is_cache")
   private Integer isCache;
   // 菜单类型（0目录 1菜单 2按钮）
   @TableField(value = "menu_type")
   private String menuType;
   // 菜单状态（0显示 1隐藏）
   @TableField(value = "visible")
   private String visible;
   // 菜单状态（0正常 1停用）
   @TableField(value = "status")
   private String status;
   // 权限标识
   @TableField(value = "perms")
   private String perms;
   // 菜单图标
   @TableField(value = "icon")
   private String icon;
   // 备注
   @TableField(value = "remark")
   private String remark;
   // 修改人
   @TableField(value = "updater")
   private String updater;
   // 创建时间
   @TableField(value = "create_date")
   @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
   private LocalDateTime createDate;
   // 修改时间
   @TableField(value = "update_date")
   @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
   private LocalDateTime updateDate;

   public String getMenuName(){
        return this.menuName;
   }
   public void setMenuName(String menuName){
        this.menuName = menuName;
   }
   public Long getParentId(){
        return this.parentId;
   }
   public void setParentId(Long parentId){
        this.parentId = parentId;
   }
   public Integer getOrderNum(){
        return this.orderNum;
   }
   public void setOrderNum(Integer orderNum){
        this.orderNum = orderNum;
   }
   public String getPath(){
        return this.path;
   }
   public void setPath(String path){
        this.path = path;
   }
   public String getComponent(){
        return this.component;
   }
   public void setComponent(String component){
        this.component = component;
   }
   public String getQueryParam(){
        return this.queryParam;
   }
   public void setQueryParam(String queryParam){
        this.queryParam = queryParam;
   }
   public Integer getIsFrame(){
        return this.isFrame;
   }
   public void setIsFrame(Integer isFrame){
        this.isFrame = isFrame;
   }
   public Integer getIsCache(){
        return this.isCache;
   }
   public void setIsCache(Integer isCache){
        this.isCache = isCache;
   }
   public String getMenuType(){
        return this.menuType;
   }
   public void setMenuType(String menuType){
        this.menuType = menuType;
   }
   public String getVisible(){
        return this.visible;
   }
   public void setVisible(String visible){
        this.visible = visible;
   }
   public String getStatus(){
        return this.status;
   }
   public void setStatus(String status){
        this.status = status;
   }
   public String getPerms(){
        return this.perms;
   }
   public void setPerms(String perms){
        this.perms = perms;
   }
   public String getIcon(){
        return this.icon;
   }
   public void setIcon(String icon){
        this.icon = icon;
   }
   public String getRemark(){
        return this.remark;
   }
   public void setRemark(String remark){
        this.remark = remark;
   }
   public String getUpdater(){
        return this.updater;
   }
   public void setUpdater(String updater){
        this.updater = updater;
   }
   public LocalDateTime getCreateDate(){
        return this.createDate;
   }
   public void setCreateDate(LocalDateTime createDate){
        this.createDate = createDate;
   }
   public LocalDateTime getUpdateDate(){
        return this.updateDate;
   }
   public void setUpdateDate(LocalDateTime updateDate){
        this.updateDate = updateDate;
   }

  public SysMenuEntity(){
  }


  @Override
  public String toString(){
  return " SysMenu ["
    +" menuName = " +menuName +" ,"
    +" parentId = " +parentId +" ,"
    +" orderNum = " +orderNum +" ,"
    +" path = " +path +" ,"
    +" component = " +component +" ,"
    +" queryParam = " +queryParam +" ,"
    +" isFrame = " +isFrame +" ,"
    +" isCache = " +isCache +" ,"
    +" menuType = " +menuType +" ,"
    +" visible = " +visible +" ,"
    +" status = " +status +" ,"
    +" perms = " +perms +" ,"
    +" icon = " +icon +" ,"
    +" remark = " +remark +" ,"
    +" updater = " +updater +" ,"
    +" createDate = " +createDate +" ,"
    +" updateDate = " +updateDate
  +" ]";
  }
}